class Object extends { val foo :Object = null}; 